﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QunYing.BLL;
using QunYing.Model;


namespace Server
{
   public class UserLoginService
    {
        public static QunYing.Model.UserLoginInfo UsLogin(string userID,string pwd)
        {
            QunYing.BLL.UserLoginInfo userLoginInfo = new QunYing.BLL.UserLoginInfo();
           QunYing.Model.UserLoginInfo uli= userLoginInfo.GetModelByCache(userID);
           if (uli == null) return null;
           if (uli.密码 != pwd) return null;
           return uli;
        }
    }
}
